package com.joeshing.security.userdetails;

import java.util.Collection;
import java.util.HashSet;

import org.springframework.security.core.GrantedAuthority;


public class User extends org.springframework.security.core.userdetails.User {
	
	private static final long serialVersionUID = 8348137717009032243L;

	@Deprecated
	public User(){
		super("__hession__", "", false, false, false, false, new HashSet<GrantedAuthority>());
	}

	
	
	public User(String username, String password, boolean enabled,
			boolean accountNonExpired, boolean credentialsNonExpired,
			boolean accountNonLocked, Collection<GrantedAuthority> authorities)
			throws IllegalArgumentException {
		super(username, password, enabled, accountNonExpired, credentialsNonExpired,
				accountNonLocked, authorities);
	}

}
